//
//  DCMyFriendTableViewCell.h
//  xmppBase
//
//  Created by striby on 16/1/7.
//  Copyright © 2016年 com.dc. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol DCMyFriendTableViewCellProtocol <NSObject>

-(void)friendCellSelectEventWithIndexPath:(NSIndexPath*)indexPath isSelected:(BOOL)isSelected;

@end


@interface DCMyFriendTableViewCell : UITableViewCell

/**
 *  设置编辑状态
 */
-(void)setHidenSelectStatusBtn:(BOOL)isHiden;
/**
 *  选择按钮当前状态
 */
@property(nonatomic,assign)BOOL isBtnSelected;

/**
 *  切换当前选择按钮图片
 */
-(void)ChangeCurrentBtnImage;

- (void)SelectBtnPressed:(id)sender;



@property (weak, nonatomic) IBOutlet UIButton *SelectStatus;
@property (weak, nonatomic) IBOutlet UILabel *UserName;
@property (weak, nonatomic) IBOutlet UIImageView *UserIcon;

@property(nonatomic,strong)NSIndexPath * indexPath;
@property(nonatomic,assign)id<DCMyFriendTableViewCellProtocol> delegate;
@end
